package com.gitee.ricesugar.mapper;

import com.gitee.ricesugar.entity.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

//    List<Admin> listByCondition(BaseRequest baseRequest);

    void add(Admin obj);

    Admin getByUid(String uid);

    void updateByUid(Admin obj);

    void deleteByUid(String uid);

//    Admin getByUsernameAndPassword(LoginRequest request);

    List<Admin> listByUsername(String username);
}